<?php
class Rol_user_dto extends Base_dto
{
	// Atributos
	var $idUser = 0;
	var $idRol = 0;
	
	private $objRol = NULL;
	public function getObjRol()
	{
		if ($this->objRol == NULL) {
			$this->objRol = new Rol_model_dto();
		}
		
		return $this->objRol;
	}
	
	public function setObjRol($objetoRol)
	{
		$this->objRol = $objetoRol;
		$this->idRol = $objetoRol->id;
	}
	
	function __construct()
    {
		parent::__construct();
		
		$this->load->model('Rol_dto');
	}
}